Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add replay url method #1600

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

add replay url method #1600

wants to merge 5 commits into from

Conversation

jakewski
Copy link
Contributor

@jakewski jakewski commented Nov 7, 2024

No description provided.

@jakewski jakewski requested a review from a team as a code owner November 7, 2024 17:47
@jakewski jakewski requested review from Tofufu and removed request for a team November 7, 2024 17:47
Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 6:41pm

@@ -820,6 +819,15 @@ mixpanel.get_session_recording_properties()
```
Returns an empty object if there is no Replay in progress.

#### Get replay URL

Provides a URL that links to the current replay in Mixpanel. This is useful for debugging purposes or for adding metadata to other platforms, such as support tickets.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd provide a little more context here, namely that this will return a URL to the mixpanel.com UI, which can only be accessed by an authenticated Mixpanel user with access to the project. It is not useful for programmatic access, scripting etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok how about now?

Copy link
Member

@tdumitrescu tdumitrescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm%c

pages/docs/tracking-methods/sdks/javascript.mdx Outdated Show resolved Hide resolved
Useful for debugging purposes or for adding metadata to other platforms, such as support tickets.

```javascript
mixpanel.get_session_replay_url()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add sample output like we do above for get_session_recording_properties()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants